package com.jiming.webrpc;

public class MsgBody {
	private Method method;
	private String data;
	
	public Method getMethod() {
		return method;
	}
	public MsgBody setMethod(Method method) {
		this.method = method;
		return this;
	}
	public String getData() {
		return data;
	}
	public MsgBody setData(String data) {
		this.data = data;
		return this;
	}
	
	public static MsgBody newBuiled() {
		return new MsgBody();
	}
	
	public MsgBody builed() {
		return this;
	}
}
